package com.sxy.dao;

import com.sxy.pojo.Brand;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Select;

/**
 * @author 宋鑫宇
 * @version 1.0
 */
public interface BrandDao {

    @Select("select * from tb_brand where id=#{id}")
    @Result(column = "brand_name",property = "brandName")
    @Result(column = "company_name",property = "companyName")
    Brand selectById(int id);
}
